<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>注册新用户</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    This is my read-note . <br>
    <br/>

	<div style="text-align: left;">
	
		<s:form action="save" namespace="/register" method="post">
			<s:fielderror/><br/>
			用户名：<s:textfield name="user.loginName" size="20" /><br/>
			密码：<s:textfield name="user.password" size="20" /><br/>
			
			<p ><font style="color: green;font-weight: bold;">请牢记您输入的账户信息</font></p>
			
			<input type="submit" value="注册新用户"/>
		</s:form>
		
	</div>
  </body>
</html>
